package com.tongfusoft.base.data.tsm;

import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.data.User;

@LogDesc(expression="userName",value="用户")
public class TsmUsers extends User {
	/** 
	用户编号 
	*/  
	private String userId;  
	/** 
	登录账号 
	*/  
	private String userName;  
	/** 
	用户姓名 
	*/  
	private String realName;  
	/** 
	用户密码 
	*/  
	private String userPwd;  
	/** 
	用户邮箱 
	*/  
	private String userEmail;  
	/** 
	手机号码 
	*/  
	private String userMobile;  
	/** 
	传真 
	*/  
	private String userFax;  
	/** 
	状态[0:无效,1:有效] 
	*/  
	private String status;  
	  
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserMobile() {
		return userMobile;
	}

	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}

	public String getUserFax() {
		return userFax;
	}

	public void setUserFax(String userFax) {
		this.userFax = userFax;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	      
    @Override  
    public String getPkName() {  
        return "userId";  
    }  
      
    @Override  
    public String getTableName(){  
        return "TSM_USERS";  
    }

	@Override
	public String getUserDisplayName() {
		return this.getRealName();
	}

	@Override
	public String getLoginName() {
		return this.getUserName();
	}

	@Override
	public String getUserPasswrod() {
		return this.getUserPwd();
	}  
}
